"use client";

/**
 * ag-Grid JavaScript 版本模块布局
 * 提供页面布局和样式配置
 */
export default function Layout({ children }) {
  return (
    <div className="aggrid-js-layout">
      <div className="aggrid-js-container">
        {children}
      </div>
      <style jsx>{`
        .aggrid-js-layout {
          width: 100%;
          height: 100vh;
          background: #1f2836;
          color: #fff;
        }
        
        .aggrid-js-container {
          width: 100%;
          height: 100%;
          padding: 20px;
          box-sizing: border-box;
        }
      `}</style>
    </div>
  );
} 